<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>就餐签到扫码系统登录</title>
  <link href="/meals/scan/css/reset.css" rel="stylesheet" type="text/css" />
  <link href="/meals/scan/css/scanLogin.css" rel="stylesheet" type="text/css" />
  <script src="/meals/scan/js/vue.min.js"></script>
</head>
<body>
  <div class="login-container" id="loginApp">
    <div class="main-content">
      <img src="/meals/scan/imgs/scanlogin.png"/>
      <p class="canteen-name">神舟市国土局食堂</p>
      <h3 class="page-title">就餐签到扫码系统</h3>
      <p class="page-desc">使用方法：使用双屏电脑，打开登录网址输入密码登录，副屏显示器动态二维码要求订餐人员扫码就餐，主屏显示订餐信息，包括订餐人、菜品等。</p>
      <div class="form-wrapepr">
        <form>
          <div class="form-item">
            <input type="text" placeholder="请输入公司账号" class="form-item-input" v-model="formData.company"/>
          </div>
          <div class="form-item">
            <input type="text" placeholder="请输入个人账号" class="form-item-input" v-model="formData.personage"/>
          </div>
          <div class="form-item">
            <input type="password" placeholder="请输入登录账号" class="form-item-input" v-model="formData.loginAccount"/>
          </div>
          <div class="form-item">
            <input type="button" value="登录" class="form-item-input form-item-btn" @click="submitLogin"/>
          </div>
        </form>
      </div>
      <p class="form-desc">若密码忘记，请要求管理员在系统设置-用户管理中更改</p>
    </div>
  </div>
  <script src="/meals/scan/js/axios.min.js"></script>
  <script>
    new Vue({
      el: '#loginApp',
      data() {
        return {
          formData: {
            company: '',
            personage: '',
            loginAccount: ''
          }
        }
      },
      methods: {
        submitLogin() {
          console.log('this.formData', this.formData)
        }
      }
    })
  </script>
</body>
</html>